home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
mouse2.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
812b
|
29 lines
#ifndef __MOUSE2_H
#define __MOUSE2_H
#ifndef __MOUSE_H
#include "mouse.h"
#endif
//
// extended mousestatus::buttonstate constants
//
// Double-click pending constants:
//
enum MDOUBLECLICK{MOUSELEFT2=0x100,MOUSERIGHT2=0x200,MOUSECENTER2=0x400};
#define DEFAULTDOUBLECLICKSPEED 6
//
// Extended routine, returning button press state ORed with
// double-click pending state:
//
mousestatus mouseGetStatus2();
//
// Double click pending state starts at the moment of second button
// press and ends with the release of the button
//
loc mouseClearDoubleClick(); // Clear mouse double-click pending state
// and return coordinates of last mouse
// button press or release
void mouseSetDoubleClick(int speed=DEFAULTDOUBLECLICKSPEED);
#endif //__MOUSE2_H